package swu.edu.cn.javaee.service;


import jakarta.annotation.Resource;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;
import swu.edu.cn.javaee.entity.Test;
import swu.edu.cn.javaee.mapper.TestMapper;

@Service
public class TestService {

    @Resource
    private TestMapper testMapper;

    public void queryTest(int id){
        id=1;
        Test test=testMapper.queryTest(id);
        System.out.println(test);
    }
}
